package cn.topcodes.tcsf.wechat.domain.entity;

import cn.topcodes.tcsf.admin.commons.domain.IdEntity;
import lombok.Data;

import javax.persistence.Table;

/**
 * 视频素材
 * @author xw
 * @date 2017-12-22 22:37:35
 */
@Data
@Table(name = "t_wechat_video")
public class WechatVideo extends IdEntity {

    public static final String FIELD_TITLE = "title";

    public static final String FIELD_COVER_URL = "coverUrl";

    public static final String FIELD_THUMB_MEDIA_ID = "thumbMediaId";

    public static final String FIELD_THUMB_URL = "thumbUrl";

    public static final String FIELD_INTRODUCE = "introduce";

    public static final String FIELD_MEDIA_ID = "mediaId";

    public static final String FIELD_VIDEO_URL = "videoUrl";

    public static final String FIELD_LENGTH = "length";

    public static final String FIELD_URL = "url";

    public static final String FIELD_WECHAT_MP_ID = "wechatMpId";

    /**
     * 视频标题
     */
    private String title;

    /**
     * 视频封面地址
     */
    private String coverUrl;

    /**
     * 视频封面id
     */
    private String thumbMediaId;

    /**
     * 视频封面(微信)地址
     */
    private String thumbUrl;

    /**
     * 视频简介
     */
    private String introduce;

    /**
     * 素材id
     */
    private String mediaId;

    /**
     * 视频时长
     */
    private String length;

    /**
     * 视频地址
     */
    private String url;

    /**
     * 公众号id
     */
    private Long wechatMpId;
}
